package com.pets.springboot_petshop.service;

import com.pets.springboot_petshop.entity.Useraddress;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

/**
 * @Author: wxk
 * @Email: 2089967794@qq.com
 * @Date: 2024/10/15 上午11:51 周二
 * @Description: 接口
 */
public interface UseraddressService {
    //id查询
    Useraddress select(int id);
    //user_id查询
     List<Useraddress> selectuser_id(int user_id);
    //查询所有
     List<Useraddress> findAll();
    //添加
    int add(Useraddress useraddress);
    //删除
    int delete(int id);
    //修改数据

    int update(Useraddress useraddress);

    //用户删除
    int deleteUser(Useraddress useraddress);
}
